# observe\_logon\_submit/2

Source: https://zotonic.com/docs/1440/observe_logon_submit-2

URI: https://zotonic.com/id/1440

Language: en



Handle a user logon. The posted query args are included. Return:: `{ok, UserId}` or `{error, Reason}`

Type:

[first](/id/doc_developerguide_notifications#notification-first)

Return:

`#logon_submit{}` properties:

- payload: `map`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1440?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1440?language=en>)
