mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Update CHANGELOG.
This commit is contained in:
parent
edee511cd1
commit
02ae0c22ef
3 changed files with 2 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
||||||
* bug fix
|
* bug fix
|
||||||
* Properly ignore path prefix on omniauthable
|
* Properly ignore path prefix on omniauthable
|
||||||
* Faster uniqueness queries
|
* Faster uniqueness queries
|
||||||
|
* Rename active? to active_for_authentication? to avoid conflicts
|
||||||
|
|
||||||
== 1.2.rc2
|
== 1.2.rc2
|
||||||
|
|
||||||
|
|
4
TODO
4
TODO
|
@ -1,4 +0,0 @@
|
||||||
* Move integration tests to Capybara
|
|
||||||
* Better ORM integration
|
|
||||||
* Add support to automatically refresh the access token for OAuth
|
|
||||||
* Add test to generators using the new Rails::Generators::TestCase
|
|
|
@ -14,7 +14,7 @@ class Devise::RegistrationsController < ApplicationController
|
||||||
build_resource
|
build_resource
|
||||||
|
|
||||||
if resource.save
|
if resource.save
|
||||||
if resource.active?
|
if resource.active_for_authentication?
|
||||||
set_flash_message :notice, :signed_up
|
set_flash_message :notice, :signed_up
|
||||||
sign_in_and_redirect(resource_name, resource)
|
sign_in_and_redirect(resource_name, resource)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue