This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function asset($path, $secure = null) | |
{ | |
if (app('url')->isValidUrl($path)) return $path; | |
if (is_null($secure)) | |
{ | |
$scheme = app('url')->getRequest()->getScheme($secure) . '://'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function() { | |
var found = false; | |
var giveUp = false; | |
function find() { | |
if (found || giveUp) { | |
return; | |
} | |
if (window._swOTP) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let token = pm.environment.get('token'); | |
if (! token) { | |
let email = pm.environment.get('email'); | |
let password = pm.environment.get('password'); | |
let loginRequest = { | |
url: loginUrl = pm.environment.get('url') + '/api/login', | |
method: 'POST', | |
headers: { |