mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-20 14:00:04 +02:00
Improve delete SSH key
This commit is contained in:
parent
7cb5a15c9b
commit
8ca14e2109
14 changed files with 49 additions and 101 deletions
|
@ -98,6 +98,7 @@ var Service struct {
|
|||
LdapAuth bool
|
||||
}
|
||||
|
||||
// ExecDir returns absolute path execution(binary) path.
|
||||
func ExecDir() (string, error) {
|
||||
file, err := exec.LookPath(os.Args[0])
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue