Authentication in sinatra

Surya Poojary <[email protected]> Sun, 12 Jan 2020 15:45:36 +0530
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CAANzoRGx=XLBRz2-sc6dgoo1kNxnmM-8cAiZD3YAC1LP5D45bw@mail.gmail.com>
--===============2043522418==
Content-Type: multipart/alternative; boundary="0000000000008d1596059beea49e"

--0000000000008d1596059beea49e
Content-Type: text/plain; charset="UTF-8"

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.

--0000000000008d1596059beea49e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Dear Rubyists,<div dir=3D"auto"><br></div><div dir=3D"aut=
o">I&#39;m a web developer newbie , learning sinatra . I&#39;m planning to =
build my own notes web app. Since it&#39;s for my personal use , I want the=
 home page to be a classic login page where I can enter my username and pas=
sword and then it should show me all my notes otherwise it shouldn&#39;t sh=
ow .=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">How do I achi=
eve this with Sinatra?</div><div dir=3D"auto"><br></div><div dir=3D"auto">R=
egards,</div><div dir=3D"auto">Surya.</div><div dir=3D"auto"><br></div></di=
v>

--0000000000008d1596059beea49e--

--===============2043522418==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

--===============2043522418==--