|
|
|
@ -258,7 +258,11 @@ authenticator = stauth.Authenticate( |
|
|
|
name, authentication_status, username = authenticator.login('Login', 'main') |
|
|
|
name, authentication_status, username = authenticator.login('Login', 'main') |
|
|
|
|
|
|
|
|
|
|
|
if authentication_status: |
|
|
|
if authentication_status: |
|
|
|
main() |
|
|
|
try: |
|
|
|
|
|
|
|
main() |
|
|
|
|
|
|
|
except Exception as e: |
|
|
|
|
|
|
|
print(e) |
|
|
|
|
|
|
|
st.write('Något blev fel :(') |
|
|
|
|
|
|
|
|
|
|
|
elif authentication_status is False: |
|
|
|
elif authentication_status is False: |
|
|
|
st.error('Username/password is incorrect') |
|
|
|
st.error('Username/password is incorrect') |
|
|
|
|