Force user to change password #1449

Closed
alexey opened this Issue Nov 20, 2011 · 4 comments

Comments

Projects
None yet
3 participants
@alexey

alexey commented Nov 20, 2011

Would be nice when admin create & notify user, add module like ":forceable" to force user change password when he login first time.

@carlosantoniodasilva

This comment has been minimized.

Show comment Hide comment
@carlosantoniodasilva

carlosantoniodasilva Nov 20, 2011

Collaborator

You could create that easily in your application with either a Warden hook or a before_filter, to check if that was the 1st time the user was signing in, and then redirect to a proper url to change user password. Shouldn't be hard, but I believe it's not something we should add to Devise itself. Thanks.

Collaborator

carlosantoniodasilva commented Nov 20, 2011

You could create that easily in your application with either a Warden hook or a before_filter, to check if that was the 1st time the user was signing in, and then redirect to a proper url to change user password. Shouldn't be hard, but I believe it's not something we should add to Devise itself. Thanks.

@alexey

This comment has been minimized.

Show comment Hide comment
@alexey

alexey Nov 20, 2011

Hi,

i already created that before creating "issue" :) , just come to my mind as
idea for devise !

2011/11/20 Carlos Antonio da Silva <
reply@reply.github.com

You could create that easily in your application with either a Warden hook
or a before_filter, to check if that was the 1st time the user was signing
in, and then redirect to a proper url to change user password. Shouldn't be
hard, but I believe it's not something we should add to Devise itself.
Thanks.


Reply to this email directly or view it on GitHub:
#1449 (comment)

Alexey Z., :skype :: cat_of_duty

alexey commented Nov 20, 2011

Hi,

i already created that before creating "issue" :) , just come to my mind as
idea for devise !

2011/11/20 Carlos Antonio da Silva <
reply@reply.github.com

You could create that easily in your application with either a Warden hook
or a before_filter, to check if that was the 1st time the user was signing
in, and then redirect to a proper url to change user password. Shouldn't be
hard, but I believe it's not something we should add to Devise itself.
Thanks.


Reply to this email directly or view it on GitHub:
#1449 (comment)

Alexey Z., :skype :: cat_of_duty

@josevalim

This comment has been minimized.

Show comment Hide comment
@josevalim

josevalim Nov 20, 2011

Member

Nice. I think there is a section in the wiki about Devise extensions, feel free to add it to the list then pointing to your repo.

Member

josevalim commented Nov 20, 2011

Nice. I think there is a section in the wiki about Devise extensions, feel free to add it to the list then pointing to your repo.

@carlosantoniodasilva

This comment has been minimized.

Show comment Hide comment
@carlosantoniodasilva

carlosantoniodasilva Nov 21, 2011

Collaborator

@alexey thanks =), as José said, it'd probably be a good extension.

Collaborator

carlosantoniodasilva commented Nov 21, 2011

@alexey thanks =), as José said, it'd probably be a good extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment