diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-02-27 10:08:57 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-27 10:08:57 -0800 |
| commit | 7dc55a04d8da6f430ee9a0c07d68c6098a9dea15 (patch) | |
| tree | 12793faa2ff6c51ccc05aa61275123891021e9ee /credential.h | |
| parent | Merge branch 'rs/archive-mtime' (diff) | |
| parent | credential: new attribute password_expiry_utc (diff) | |
| download | git-7dc55a04d8da6f430ee9a0c07d68c6098a9dea15.tar.gz git-7dc55a04d8da6f430ee9a0c07d68c6098a9dea15.zip | |
Merge branch 'mh/credential-password-expiry'
The credential subsystem learned that a password may have an
explicit expiration.
* mh/credential-password-expiry:
credential: new attribute password_expiry_utc
Diffstat (limited to 'credential.h')
| -rw-r--r-- | credential.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/credential.h b/credential.h index f430e77fea..935b28a70f 100644 --- a/credential.h +++ b/credential.h @@ -126,10 +126,12 @@ struct credential { char *protocol; char *host; char *path; + timestamp_t password_expiry_utc; }; #define CREDENTIAL_INIT { \ .helpers = STRING_LIST_INIT_DUP, \ + .password_expiry_utc = TIME_MAX, \ } /* Initialize a credential structure, setting all fields to empty. */ |
