File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export interface PassportStrategyDBConfig {
127127 * - description: A longer description of the strategy, could be markdown, shown on the dedicated /sso/... pages.
128128 * - icon: A URL to an icon
129129 * - disabled: if true, this is ignored during the initialization
130- * - update_on_login: if true, the user's profile is updated on login (first and last name, not email)
130+ * - update_on_login: if true, the user's profile is updated on login (first and last name, not email) and NOT by the user.
131131 * - cookie_ttl_s: how long the remember_me cookied lasts (default is a month or so).
132132 * This could be set to a much shorter period to force users more frequently to re-login.
133133 */
Original file line number Diff line number Diff line change @@ -424,6 +424,11 @@ Table({
424424 }
425425 }
426426 }
427+ // check, if account is exclusively controlled by SSO and its update_on_login config is true
428+ const { email_address} = obj
429+ if ( email_address != null ) {
430+ // TODO
431+ }
427432 cb ( ) ;
428433 } ,
429434 } ,
You can’t perform that action at this time.
0 commit comments