Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- method: "POST",
- url: "/user/login?_format=json",
- dataType: "json",
- contentType: "application/json",
- data: { user: "myname", pass: "mypass" }
- })
- user.login:
- path: '/user/login'
- defaults:
- _form: 'DrupaluserFormUserLoginForm'
- _title: 'Log in'
- requirements:
- _user_is_logged_in: 'FALSE'
- options:
- _maintenance_access: TRUE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement