You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.log("info","User found in DB",{user: u,tag: "createOrUpdateLoginGovUser"})
300
+
299
301
if(u){
300
302
returnupdateUser(login_gov_data,u)
301
303
}else{
302
304
returncreateUser(login_gov_data)
303
305
}
304
306
305
307
}catch(e){
306
-
logger.log("error","Error caught in create/update MAX User",{error: e,tag: "create/update MAX User"})
308
+
309
+
logger.log("error","Error caught in create/update Login.gov User",{error: e.message,tag: "create/update Login.gov User"})
310
+
311
+
returnres.status(302)
312
+
.set('Location',encodeURI(config['srtClientUrl']+'/auth'+'?error=Database Error creating user account. Please contact srt@gsa.gov.'))// send them back with no token
0 commit comments