Gustavo Bazan
6260c29a86
Improve passwords autocomplete
...
Use `autocomplete="new-password"` or `autocomplete="current-password"` to better signal to browsers and password managers how to handle the password fields.
This feature is especially useful for “change your password” and “new user” forms
2018-04-19 12:58:58 -04:00
Mike Rogers
16b3d6d67c
Adding autocomplete="email" to email fields ( #4643 )
...
As discussed in https://github.com/plataformatec/devise/issues/4635
2017-12-21 17:13:50 -02:00
Carlos Antonio da Silva
ce071502ee
Display unconfirmed email when using reconfirmable and email changed notification
...
Otherwise we'd be mistakenly displaying the original email in the
message (which is the same we're sending the message to).
Also tweak the messaging a bit in this case, to show that the email "is
being changed" (the change hasn't taken effect yet).
Related to #4455 .
2017-03-15 11:47:47 -03:00
Carlos Antonio da Silva
2135ae5e5e
Change email_change => email_changed notification
...
This better indicates what the setting is for, and when it's supposed to
be triggered.
We might eventually deprecate the existing password_change on in favor
of password_changed.
2017-03-10 08:56:34 -03:00
Carlos Antonio da Silva
70eb18d766
Notify original user email when the email changes
...
This adds a new setting `send_email_change_notification` which will
send an email to the original user email when their email is updated to
a new one.
It doesn't take into account the reconfirmable setting yet, it will be
added next, so that if confirmable is included and reconfirmable is
being used, the email will be triggered when the email change is
requested, not when confirmed (e.g when we store the email in
`unconfirmed_email`, not when it's later copied to `email` when that is
confirmed).
2017-03-06 17:04:26 -03:00
Matt Yanchek
85bcbdf18b
Set minimum password length for edit and new views ( #4068 )
...
* Set minimum password length for edit and new views
* Update edit.html.erb
* Update registerable_test.rb
2016-05-05 17:16:41 -03:00
Jeroen Visser
b214333760
Remove trailing whitespace from confirmation view
...
Though not a real issue, it was highlighted as an error by my commit
hooks, so I took the opportunity to fix it.
2016-03-07 10:07:34 +01:00
Timo Schilling
f5e984c151
use OmniAuth::Utils.camelize
...
This will display the provider name with the original camelization:
facebook => Facebook
github => GitHub
linkedin => LinkedIn
2015-08-28 07:51:37 +02:00
Jon Phenow
e9c82472ff
quick comment touch-ups
2015-08-27 10:26:12 -05:00
Jon Phenow
48ed2fd1aa
templates, config documentation
2015-08-27 10:26:12 -05:00
Neil van Beinum
710496b6a8
Remove unnecessary line break on edit password page.
2015-08-06 18:21:34 +01:00
José Valim
893a0222ef
Update new.html.erb
2015-02-14 10:59:01 +01:00
redbar0n
ee8c13435f
Fix potential security leak in email reconfirmation flow
...
Ref. bug/issue: https://github.com/plataformatec/devise/issues/3457
2015-02-13 21:43:06 +01:00
Carlos Antonio da Silva
bebf0ecbbe
Simplify the logic to display the minimum password length hint
...
There's no real need to pass 2 variables to the view to figure that out,
we can simply display the message relying on whether or not the
`@minimum_password_length` variable is present.
2014-12-27 11:22:40 -02:00
Katee
607bf70674
Shows min password length on edit password view.
2014-12-15 19:52:58 -05:00
Sean Collins
cfe0dc1ee1
change class="fields" to class="field" to be same as rails scaffolding
2014-10-22 12:44:01 -04:00
Uday Singh
51263f995b
updated confirmation views with the same formatting and added fields and actions to tag
2014-10-22 04:25:33 -04:00
Uday Singh
f9ca733e68
updated passwords views with proper formatting akin to scaffolding and classes for fields and actions
2014-10-22 04:23:51 -04:00
Uday Singh
9c221e2418
updated new.html.erb unlock views
2014-10-22 04:12:28 -04:00
Uday Singh
ef016b448e
reformatted and updated sessions views with proper fields and action classes
2014-10-22 04:10:01 -04:00
Uday Singh
a5bab11321
reformatted fields, added fields and actions class like rails scaffolding, changed <i> html tag for updated <em> html5 tag
2014-10-22 04:08:33 -04:00
Damir Svrtan
df9712bbe4
Rename links.erb to links.html.erb
2014-08-18 00:15:25 +02:00
alexsoble
67d8dd1e94
Replace 'Sign in' with 'Log in' in views, update tests
2014-08-06 13:32:02 -04:00
alexsoble
e65c26e1e7
Only display password length warning if validatable module is included
2014-08-05 10:22:47 -04:00
alexsoble
c38accd648
Tell new signups about minimum password length in registrations/new.html.erb
2014-08-04 15:53:40 -04:00
Lucas Mazza
aea82d0b03
Update remaning 1.8 hash syntax.
2014-02-25 14:25:55 -03:00
rbsec
13b50d63ca
Set autocomplete=off on all password inputs
2014-02-21 10:37:17 +00:00
Vignesh Rajagopalan
acd33174fc
Added an extra validation to shared links
2013-08-08 18:05:19 +05:30
José Valim
143794d701
Use HMAC on tokens stored in the DB
2013-08-05 18:56:07 +02:00
José Valim
7e96bac6a4
Get rid of deprecated code
2013-08-05 11:24:04 +02:00
Puneet Goyal
ddea9359a6
Removing an extra full stop
2013-03-15 15:19:52 +05:30
José Valim
0c4615e337
Properly check if reconfirmable is available
2013-01-13 09:53:26 +01:00
Steve Robinson
70e38fe66d
Changed link_to to button_to for delete user
...
It is advisable to use link_to for mostly GET operations. Actions like DESTROY when presented as a link can cause severe vulnerabilities.
Hence using a button is advisable.
2013-01-12 01:53:09 +05:30
Graham Wagener
5745d97232
Improved grammar of reset password e-mail.
2012-12-14 15:08:55 +13:00
José Valim
86f0bff332
Apparently Rails 3.1 does not like @headers as ivar
2012-12-13 09:59:36 +01:00
José Valim
839e8fc8ac
Show if there is an e-mail waiting for confirmation, closes #2060
2012-12-13 09:13:33 +01:00
José Valim
4c83743263
unconfirmed_email now uses the proper e-mail on salutation, related to #2060
2012-12-13 09:02:59 +01:00
James Mead
e873e2aeed
Use "number of" instead of "amount of" for countable nouns.
2012-09-28 10:52:37 +01:00
Radagaisus
4962fbcb51
no need for {} they said
2012-08-22 02:15:48 +03:00
Radagaisus
be2b481385
fixed for 1.8.7 syntax
2012-08-22 02:13:38 +03:00
Radagaisus
d169ef3641
extra whitespace
2012-08-22 02:01:01 +03:00
Radagaisus
2a64972321
html5 autofocus for a better ux from the get go
2012-08-22 01:58:26 +03:00
Vasiliy Ermolovich
13f35d80a9
use data-confirm option as :confirm was deprecated in rails 3.2.6
2012-06-14 22:27:40 +03:00
Vasiliy Ermolovich
1d79c1982a
use implicit partials rendering
...
make simple_form templates consistent with templates
that generates by simple_form itself
612c0067cf
2012-05-20 22:01:11 +03:00
Rodrigo Flores
af12ec2b01
Fixing a deprecation warning
2012-03-03 14:32:53 -03:00
Rodrigo Flores
f04d883ac1
Deprecation warning
2012-03-03 11:12:30 -03:00
Rodrigo Flores
9bf718dd82
Revert "Move devise/shared/_links.erb to devise/_links.erb"
...
This reverts commit aa2d15aa33 .
Conflicts:
CHANGELOG.rdoc
2012-03-03 10:40:59 -03:00
José Valim
79aadb4bc9
Set autocomplete to off by default on password field.
2012-02-15 17:07:58 +01:00
José Valim
aa2d15aa33
Move devise/shared/_links.erb to devise/_links.erb
2012-01-02 21:26:26 +01:00
mandaryn
1961de6b5d
Add email confirmation when it is changed by a user
2011-08-30 22:19:17 -06:00