mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
parent
5bbaef4476
commit
6c4e8ec2d1
@ -110,6 +110,8 @@ def set_state(user):
|
|||||||
auth.state = state
|
auth.state = state
|
||||||
auth.save()
|
auth.save()
|
||||||
notify(user, "Membership State Change", message="You membership state has been changed to %s" % state)
|
notify(user, "Membership State Change", message="You membership state has been changed to %s" % state)
|
||||||
|
assign_corp_group(auth)
|
||||||
|
assign_alliance_group(auth)
|
||||||
|
|
||||||
|
|
||||||
def assign_corp_group(auth):
|
def assign_corp_group(auth):
|
||||||
|
@ -108,7 +108,8 @@ def sso_login(request, token):
|
|||||||
else:
|
else:
|
||||||
messages.error(request, 'Your account has been disabled.')
|
messages.error(request, 'Your account has been disabled.')
|
||||||
else:
|
else:
|
||||||
messages.warning(request, 'Authenticated character has no owning account. Please log in with username and password.')
|
messages.warning(request,
|
||||||
|
'Authenticated character has no owning account. Please log in with username and password.')
|
||||||
except EveCharacter.DoesNotExist:
|
except EveCharacter.DoesNotExist:
|
||||||
messages.error(request, 'No account exists with the authenticated character. Please create an account first.')
|
messages.error(request, 'No account exists with the authenticated character. Please create an account first.')
|
||||||
return redirect(login_user)
|
return redirect(login_user)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user