mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-10 06:07:54 +02:00
Add Period & Sort options to user access log
This commit is contained in:
4
resources/js/services/userService.js
vendored
4
resources/js/services/userService.js
vendored
@ -134,8 +134,8 @@ export default {
|
||||
*
|
||||
* @returns promise
|
||||
*/
|
||||
getauthentications(id, limit, config = {}) {
|
||||
return apiClient.get('/users/' + id + '/authentications' + (limit ? '?limit=' + limit : ''), { ...config })
|
||||
getauthentications(id, period = 90, limit, config = {}) {
|
||||
return apiClient.get('/users/' + id + '/authentications?period=' + period + (limit ? '&limit=' + limit : ''), { ...config })
|
||||
},
|
||||
|
||||
}
|
Reference in New Issue
Block a user