We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a86cd0 + 2b8db14 commit 07583cbCopy full SHA for 07583cb
src/Auth.php
@@ -99,15 +99,15 @@ public static function get_token_issued() {
99
*/
100
public static function get_token_expiration() {
101
102
- if ( ! isset( self::$expiration ) || empty( self::$expiration ) ) {
+ if ( ! isset( self::$expiration ) ) {
103
104
/**
105
* Set the expiration time, default is 300 seconds.
106
107
$expiration = self::get_token_issued() + 300;
108
109
110
- * Determine the expiration value. Default is 5 minutes, but is filterable to be configured as needed
+ * Determine the expiration value. Default is 7 days, but is filterable to be configured as needed
111
*
112
* @param string $expiration The timestamp for when the token should expire
113
0 commit comments