On Thursday, June 1, 2017 at 7:44:48 PM UTC-7, Вячеслав Анатольевич wrote: > > Hi! > Can anybody help me? I am only starting on web2py. > So, i have db oracle with alredy having data, and i want to make login > only, without reg/change pass and other. > I have a table in db for example, user_psw, where i have "name" and "pwd" > - (username & password). > How i can tell web2py watch username and password in that table in that > colums. If you can, small example please. > Sory fo my english. >
I would recommend reviewing Chapter 9 of the book. The part most specific to your question would seem to be <URL:http://web2py.com/books/default/chapter/29/09/access-control#Other-login-methods-and-login-forms> but I'd read the general description (and maybe look back to Chapter 4's workflow section). A simple example of using the out-of-the-box web2py auth is shown in Chapter 3 for the image blog instantiation. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

