Socket
Socket
Sign inDemoInstall

fulton-server

Package Overview
Dependencies
346
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.23-0 to 0.0.23

4

identity/fulton-impl/fulton-user-service.js

@@ -215,3 +215,3 @@ "use strict";

username,
emails: [input.email],
email: input.email,
registeredAt: new Date()

@@ -300,3 +300,3 @@ };

if (profile.email) {
userInput.emails = [profile.email];
userInput.email = profile.email;
}

@@ -303,0 +303,0 @@ userInput.registeredAt = new Date();

@@ -5,5 +5,5 @@ import { IFultonUser } from '../interfaces';

username: string;
email: string;
portraitUrl: string;
roles: string[];
emails: string[];
registeredAt: Date;

@@ -10,0 +10,0 @@ status: string;

@@ -24,2 +24,6 @@ "use strict";

__decorate([
typeorm_1.Column({ length: 256 }),
__metadata("design:type", String)
], FultonUser.prototype, "email", void 0);
__decorate([
typeorm_1.Column(),

@@ -34,6 +38,2 @@ __metadata("design:type", String)

typeorm_1.Column(),
__metadata("design:type", Array)
], FultonUser.prototype, "emails", void 0);
__decorate([
typeorm_1.Column(),
__metadata("design:type", Date)

@@ -40,0 +40,0 @@ ], FultonUser.prototype, "registeredAt", void 0);

@@ -26,3 +26,3 @@ /// <reference types="passport" />

portraitUrl?: string;
emails?: string[];
email?: string;
roles?: string[];

@@ -29,0 +29,0 @@ registeredAt?: Date;

@@ -15,3 +15,3 @@ import { BaseOptions } from '../../options/options';

/**
* the scopes of access token, for examples, username, rolus, emails
* the scopes of access token, for examples, username, rolus, email
* default is "[]"

@@ -18,0 +18,0 @@ */

@@ -19,3 +19,3 @@ "use strict";

/**
* the scopes of access token, for examples, username, rolus, emails
* the scopes of access token, for examples, username, rolus, email
* default is "[]"

@@ -22,0 +22,0 @@ */

@@ -56,3 +56,3 @@ "use strict";

}
if (this.notiication.email.subjectTemplate == null) {
if (this.notiication.email.bodyTemplate == null) {
this.notiication.email.bodyTemplate = "./templates/email-forgot-password.html";

@@ -59,0 +59,0 @@ }

@@ -119,3 +119,3 @@ "use strict";

}
if (this.notiication.email.subjectTemplate == null) {
if (this.notiication.email.bodyTemplate == null) {
this.notiication.email.bodyTemplate = "./templates/email-welcome.html";

@@ -122,0 +122,0 @@ }

{
"name": "fulton-server",
"version": "0.0.23-0",
"version": "0.0.23",
"description": "Fulton is the best practical way to build web apis or websites we have done in our company. Basically, Fulton is integrated many popular libraries or frameworks seamlessly. By use Fulton, developers can build a completed web api or a websites quickly.",

@@ -60,2 +60,3 @@ "main": "./main.js",

"jasmine-reporters": "^2.3.0",
"hoek": "^4.2.1",
"mongodb": "^3.0.7",

@@ -84,3 +85,2 @@ "nodemailer": "^4.6.4",

"express": "^4.16.2",
"hoek": "^4.2.1",
"inversify": "^4.9.0",

@@ -87,0 +87,0 @@ "jws": "^3.1.4",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc