message: feat: login spec
diff: */
  import * as Config from "config";
  +import * as otplib from "otplib";
  import { Product } from "../../data/types";
  import * as utils from "../../lib/utils";
  @@ -30,6 +31,12 @@ export default (on, config) => {
  }
  }
  },
  + GetFromConfig(variable: string) {
  + return Config.get(variable);
  + },
  + GenerateAuthenticator(inputString: string) {
  + return otplib.authenticator.generate(inputString);
  + },
  toISO8601() {
  let date = new Date();
  return utils.toISO8601(date);
  