MCPcopy Index your code
hub / github.com/ddserver/ddserver / post_login

Function post_login

ddserver/interface/pages/login.py:38–45  ·  view source on GitHub ↗

Handles user authentication.

(data,
               users)

Source from the content-addressed store, hash-verified

36 password = validation.String())
37@require(users = 'ddserver.interface.user:UserManager')
38def post_login(data,
39 users):
40 ''' Handles user authentication. '''
41
42 users.login(username = data.username,
43 password = data.password)
44
45 bottle.redirect('/')
46
47
48

Callers

nothing calls this directly

Calls 1

loginMethod · 0.80

Tested by

no test coverage detected