mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.26k stars 87 forks source link

There is should be some global expose on create render #76

Closed Uysim closed 4 years ago

Uysim commented 4 years ago

What I want is

- If @resource.present
   = message
- else
   = other_message

By override view but is not possible

mikker commented 4 years ago

I agree.

At first this was ambiguous on purpose for security reasons but as most apps (I guess) also have some sort of signup form that requires a unique email address, it doesn't provide any security benefits here anyway.

I like your approach of making the resource available and let the app developer choose whether they want to show that one was found only by overriding the view.

PRs welcome 😊

Uysim commented 4 years ago

@mikker I submit pull request #77