mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	[ntfy] Do not autofill
This commit is contained in:
		@@ -12,21 +12,21 @@
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="mb-3">
 | 
			
		||||
        <label for="ntfy-username" class="form-label">{{ $t("Username") }}</label>
 | 
			
		||||
        <label for="ntfy-priority" class="form-label">{{ $t("Priority") }}</label>
 | 
			
		||||
        <input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="1" max="5" step="1">
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="mb-3">
 | 
			
		||||
        <label for="ntfy-username" class="form-label">{{ $t("Username") }} ({{ $t("Optional") }})</label>
 | 
			
		||||
        <div class="input-group mb-3">
 | 
			
		||||
            <input id="ntfy-username" v-model="$parent.notification.ntfyusername" type="text" class="form-control" required>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="mb-3">
 | 
			
		||||
        <label for="ntfy-password" class="form-label">{{ $t("Password") }}</label>
 | 
			
		||||
        <label for="ntfy-password" class="form-label">{{ $t("Password") }} ({{ $t("Optional") }})</label>
 | 
			
		||||
        <div class="input-group mb-3">
 | 
			
		||||
            <HiddenInput id="ntfy-password" v-model="$parent.notification.ntfypassword"></HiddenInput>
 | 
			
		||||
            <HiddenInput id="ntfy-password" v-model="$parent.notification.ntfypassword" autocomplete="new-password"></HiddenInput>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="mb-3">
 | 
			
		||||
        <label for="ntfy-priority" class="form-label">{{ $t("Priority") }}</label>
 | 
			
		||||
        <input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="1" max="5" step="1">
 | 
			
		||||
    </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
 
 | 
			
		||||
@@ -582,4 +582,5 @@ export default {
 | 
			
		||||
    goAlert: "GoAlert",
 | 
			
		||||
    backupOutdatedWarning: "Deprecated: Since a lot of features added and this backup feature is a bit unmaintained, it cannot generate or restore a complete backup.",
 | 
			
		||||
    backupRecommend: "Please backup the volume or the data folder (./data/) directly instead.",
 | 
			
		||||
    "Optional": "Optional",
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user