mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Add getPlexHeaders function
This commit is contained in:
parent
68df0f07c8
commit
766e33df0e
3 changed files with 16 additions and 10 deletions
|
@ -2301,6 +2301,7 @@ $(document).ready(function() {
|
|||
$("#token_verify").html('<i class="fa fa-refresh fa-spin"></i>').fadeIn('fast');
|
||||
}
|
||||
function OAuthSuccessCallback(authToken) {
|
||||
var x_plex_headers = getPlexHeaders();
|
||||
$("#pms_token").val(authToken);
|
||||
$("#pms_uuid").val(x_plex_headers['X-Plex-Client-Identifier']);
|
||||
$("#token_verify").html('<i class="fa fa-check"></i>').fadeIn('fast');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue