MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / get

Method get

packages/hydrooj/src/handler/user.ts:56–63  ·  view source on GitHub ↗
(domainId: string, redirect: string = '')

Source from the content-addressed store, hash-verified

54
55 @param('redirect', Types.String, true)
56 async get(domainId: string, redirect: string = '') {
57 this.response.template = 'user_login.html';
58 this.response.body = {
59 redirect,
60 builtInLogin: system.get('server.login'),
61 loginMethods: this.loginMethods,
62 };
63 }
64
65 @param('uname', Types.Username)
66 @param('password', Types.Password)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected