mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #2355 implement API key management system
- Added API key get, creation, editing, and revocation methods. - Updated the profile template to include API key management features. - Updated the database schema to support the new API key system, including additional fields for key management. - Added client-side JavaScript functionality to handle API key operations and display responses. - Update tools/htm.ws with the new way to authenticate. - Restriction of certain api methods when used with an api key - Backward compatibility with older apps
This commit is contained in:
@@ -74,6 +74,8 @@ if (isset($_POST['login']))
|
||||
// {redirect (final) = http://localhost/piwigo/git/admin.php}
|
||||
$root_url = get_absolute_root_url();
|
||||
|
||||
$_SESSION['connected_with'] = 'pwg_ui';
|
||||
|
||||
redirect(
|
||||
empty($redirect_to)
|
||||
? get_gallery_home_url()
|
||||
|
||||
Reference in New Issue
Block a user