Displaying 1 result from an estimated 1 matches for "isauthenticated".
Did you mean:
sauthenticated
2008 Jun 02
2
Cannot log in/authenticate within RSpec Story
...quot;You did not enter a properly formatted domain
and alias"
redirect_to :action => ''login''
else
# Authenticate username and password
domain = split_username[0]
username = split_username[1]
password = params[:password]
isAuthenticated = authenticate(domain, username, password)
if isAuthenticated
# User has been authenticated
session[''username''] = username
redirect_back({:controller => ''posts'', :action => ''index''})
else...