Good registration & fair auth #23
This commit is contained in:
+2
-1
@@ -8,8 +8,9 @@ Beathaven::Application.routes.draw do
|
||||
match 'search/autocomplete' => 'artist#autocomplete'
|
||||
|
||||
# Registration & login
|
||||
match 'reg/:email/:code' => 'user#register', :constraints => { :email => /[-a-z0-9\._@]+/i, :code => /[a-z0-9]{8}/ }
|
||||
match 'reg/:email/:code' => 'user#register', :constraints => { :email => /[-a-z0-9\._@]+/i, :code => /[a-f0-9]{64}/ }
|
||||
match 'reg/complete' => 'user#complete'
|
||||
match 'login' => 'user#login'
|
||||
|
||||
match '*a', :to => 'errors#routing'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user