Re: Authentication in sinatra

Ketan Patel <[email protected]> Sun, 12 Jan 2020 10:32:49 +0000
Newsgroups gmane.comp.lang.ruby.general
Message-ID <[email protected]>
The easiest thing to start with is HTTP basic auth, have a look here: http://sinatrarb.com/faq.html#auth.

Ketan Patel


> On 12 Jan 2020, at 10:15, Surya Poojary <[email protected]> wrote:
> 
> Dear Rubyists,
> 
> I'm a web developer newbie , learning sinatra . I'm planning to build my own notes web app. Since it's for my personal use , I want the home page to be a classic login page where I can enter my username and password and then it should show me all my notes otherwise it shouldn't show . 
> 
> How do I achieve this with Sinatra?
> 
> Regards,
> Surya.
> 
> 
> 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>