mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Merge pull request #1148 from appwrite/fix-oauth-autocomplete
Fix oauth autocomplete
This commit is contained in:
commit
b6b48b7684
1 changed files with 5 additions and 0 deletions
|
|
@ -414,6 +414,7 @@ $auth = $this->getParam('auth', []);
|
||||||
<h1><?php echo $this->escape($name); ?> <?php if($sandbox): ?>Sandbox<?php endif; ?> OAuth2 Settings</h1>
|
<h1><?php echo $this->escape($name); ?> <?php if($sandbox): ?>Sandbox<?php endif; ?> OAuth2 Settings</h1>
|
||||||
|
|
||||||
<form
|
<form
|
||||||
|
autocomplete="off"
|
||||||
data-analytics
|
data-analytics
|
||||||
data-analytics-activity
|
data-analytics-activity
|
||||||
data-analytics-event="submit"
|
data-analytics-event="submit"
|
||||||
|
|
@ -429,6 +430,10 @@ $auth = $this->getParam('auth', []);
|
||||||
data-failure="alert"
|
data-failure="alert"
|
||||||
data-failure-param-alert-text="Failed to update project OAuth2 settings"
|
data-failure-param-alert-text="Failed to update project OAuth2 settings"
|
||||||
data-failure-param-alert-classname="error">
|
data-failure-param-alert-classname="error">
|
||||||
|
|
||||||
|
<input style="display: none" type="text" /> <?php /** Disabling Chrone Autofill @see https://stackoverflow.com/a/15917221/2299554 */ ?>
|
||||||
|
<input style="display: none" type="password" /> <?php /** Disabling Chrone Autofill @see https://stackoverflow.com/a/15917221/2299554 */ ?>
|
||||||
|
|
||||||
<input name="provider" id="provider<?php echo $this->escape(ucfirst($provider)); ?>" type="hidden" autocomplete="off" value="<?php echo $this->escape($provider); ?>">
|
<input name="provider" id="provider<?php echo $this->escape(ucfirst($provider)); ?>" type="hidden" autocomplete="off" value="<?php echo $this->escape($provider); ?>">
|
||||||
|
|
||||||
<?php if(!$form): ?>
|
<?php if(!$form): ?>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue