mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		| @@ -16,7 +16,7 @@ import ( | ||||
| 	"code.gitea.io/gitea/modules/timeutil" | ||||
|  | ||||
| 	"github.com/dgrijalva/jwt-go" | ||||
| 	uuid "github.com/satori/go.uuid" | ||||
| 	uuid "github.com/google/uuid" | ||||
| 	"github.com/unknwon/com" | ||||
| 	"golang.org/x/crypto/bcrypt" | ||||
| 	"xorm.io/xorm" | ||||
| @@ -174,7 +174,7 @@ func CreateOAuth2Application(opts CreateOAuth2ApplicationOptions) (*OAuth2Applic | ||||
| } | ||||
|  | ||||
| func createOAuth2Application(e Engine, opts CreateOAuth2ApplicationOptions) (*OAuth2Application, error) { | ||||
| 	clientID := uuid.NewV4().String() | ||||
| 	clientID := uuid.New().String() | ||||
| 	app := &OAuth2Application{ | ||||
| 		UID:          opts.UserID, | ||||
| 		Name:         opts.Name, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user