Unable to Add SMTP Authentication Source #1193

Closed
opened 2025-11-02 03:52:02 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @mohammed90 on GitHub (Oct 29, 2017).

  • Gitea version (or commit ref): 1.2.2
  • Git version:
  • Operating system: Darwin
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

When trying to add a new authentication source, select OAuth2 then change it to SMTP. Trying to add an SMTP authentication source after so gives no response. Checking the Chrome console, I found the following error logs:

An invalid form control with name='oauth2_key' is not focusable.
An invalid form control with name='oauth2_secret' is not focusable.

It seems to happen with all options. This only happens after the user select OAuth2 then change their mind.

Originally created by @mohammed90 on GitHub (Oct 29, 2017). - Gitea version (or commit ref): 1.2.2 - Git version: - Operating system: Darwin - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant ## Description When trying to add a new authentication source, select `OAuth2` then change it to SMTP. Trying to add an SMTP authentication source after so gives no response. Checking the Chrome console, I found the following error logs: ``` An invalid form control with name='oauth2_key' is not focusable. An invalid form control with name='oauth2_secret' is not focusable. ``` It seems to happen with all options. This only happens after the user select OAuth2 then change their mind.
GiteaMirror added the topic/uitype/bug labels 2025-11-02 03:52:02 -06:00
Author
Owner

@lafriks commented on GitHub (Nov 11, 2017):

Fixed by #2889

@lafriks commented on GitHub (Nov 11, 2017): Fixed by #2889
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1193