let's not check too many things, shall we?
parent
c8ac4fdd90
commit
184cfe2454
|
@ -2,10 +2,6 @@
|
|||
if ! session_verify "${cookies[sh_session]}"; then
|
||||
jq -n '{status: $ARGS.positional[0], msg: $ARGS.positional[1]}' --args -1 "You're not logged in!"
|
||||
return
|
||||
elif ! account_verified "$(account_get_username ${cookies[sh_session]})"; then
|
||||
jq -n '{status: $ARGS.positional[0], msg: $ARGS.positional[1]}' --args -2 "You didn't verify your mail!"
|
||||
return
|
||||
|
||||
fi
|
||||
|
||||
source "${cfg[namespace]}/code/common.sh"
|
||||
|
|
Loading…
Reference in New Issue