fix result field typo

This commit is contained in:
BuckarooBanzay 2020-04-21 21:18:43 +02:00
parent d88802b838
commit 5efd4e83b0

View File

@ -13,7 +13,7 @@ if (state.token){
verifyToken()
.then(function(result){
if (result.username){
state.loginState.username = result.loginState.username;
state.loginState.username = result.username;
state.loginState.loggedIn = true;
//fetch messages after token alright
fetchMails();