Browse Source

Update system password on each login

update-system-password
Luke Childs 4 years ago
parent
commit
1175ca9773
  1. 4
      logic/auth.js

4
logic/auth.js

@ -174,6 +174,10 @@ async function login(user) {
deriveUmbrelSeed(user)
// This is only needed temporarily to update hardcoded passwords
// on existing users without requiring them to change their password
setSystemPassword(user.password);
return { jwt: jwt };
} catch (error) {

Loading…
Cancel
Save