Re: Sinatra Authentication
Arup Rakshit <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Raj, This is not welcoming. Please don’t do this. It happened with me long before, and I know how does it feel. > On 20-Oct-2018, at 10:00 PM, Raj Sahae <[email protected]> wrote: > > http://lmgtfy.com/?q=Authentication+sinatra <http://lmgtfy.com/?q=Authentication+sinatra> > > - Raj > > On Sat, Oct 20, 2018, 2:14 AM Surya Poojary <[email protected] <mailto:[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] <mailto:[email protected]>?subject=unsubscribe> > <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk <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> Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>