Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tickets.generate_login_ticket should not take an argument #22

Open
vasilakisfil opened this issue Feb 10, 2014 · 0 comments
Open

Tickets.generate_login_ticket should not take an argument #22

vasilakisfil opened this issue Feb 10, 2014 · 0 comments

Comments

@vasilakisfil
Copy link

Hi, I am building a custom rubycas-server in rails based on rubycas-server-core. Up until now I have noticed some minibugs:
1)Why generate_login_ticket takes an argument (client) ? CAS protocol does not specify anything like that. Also, in Sinatra-based rubycas-server generate_login_ticket is implemented without an argument so I guess it is a mistake?

Also you you have success = false in cas.rb (line 121 in validate_ticket_granting_ticket method) which is never used. Instead you rely on error variable, in the sense that if no error has appeared, you return nil (which is convenient for if statements). I guess a mini mistake too ? Notice that in the Sinatra-based rubycas-server you have again success=false (which is useless) but you rely only in error as I explained.

Aagbator pushed a commit to bebraven/rubycas-server-core that referenced this issue Jan 6, 2021
Responsive bit for login on small phone screens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant