feat(tutoriumsdaten): application restore

This commit is contained in:
ros 2021-08-29 14:20:39 +02:00 committed by Sarah Vaupel
parent e972788f54
commit d4a73e699a

View File

@ -719,4 +719,3 @@ addPWEntry User{ userAuthentication = _, ..} (Text.encodeUtf8 -> pw) = db' $ do
PWHashConf{..} <- getsYesod $ view _appAuthPWHash
(AuthPWHash . Text.decodeUtf8 -> userAuthentication) <- liftIO $ makePasswordWith pwHashAlgorithm pw pwHashStrength
void $ insert User{..}