Re: Sinatra Authentication

Raj Sahae <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CAJHnM_65zmbBCKdS3cLoAFbuKQ_fvM0vZnnk_=95cpUUzHRTcw@mail.gmail.com>
http://lmgtfy.com/?q=Authentication+sinatra

- Raj

On Sat, Oct 20, 2018, 2:14 AM Surya Poojary <[email protected]> wrote:

> Hello rubyists!
>
> I'm trying to learn Sinatra and want to implement an authentication system
> like
>
> If username == "me" and password == "she" // go to the next page
>
> Else
>
> // Take to some page that says "you are not authorised"
>
> How do I do this ?
>
> Gracias,
>
> Rubyists.
>
> Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
>


Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.