feat(course admin): no new-line

This commit is contained in:
ros 2021-07-22 21:01:54 +02:00
parent 89e1d675c3
commit 0a6a1749d3

View File

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