Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate if message is set in AccountAuthView #1629

Closed
mikedingjan opened this issue Jan 15, 2015 · 1 comment
Closed

Validate if message is set in AccountAuthView #1629

mikedingjan opened this issue Jan 15, 2015 · 1 comment
Assignees

Comments

@mikedingjan
Copy link
Contributor

Hi,

We're using the messages framework throughout our oscar application however the "welcome back" notice when a user logs in isn't one we would like to display.

Is it possible to have the view function check if a message is set before actually setting the message this way we can use the get_login_success_message to return False.

https://github.com/django-oscar/django-oscar/blob/master/src/oscar/apps/customer/views.py#L161

@sasha0
Copy link
Member

sasha0 commented Jul 26, 2016

Closing since related PR already merged.

@sasha0 sasha0 closed this as completed Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants