Compare commits

..

4 Commits

Author SHA1 Message Date
semantic-release-bot c3eff0a0e7 🔖 chore(release): v1.0.0-beta.16 [skip ci]
# [1.0.0-beta.16](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2025-02-21)

### 🐛 Bug Fixes

* **auth**: Simplify email verification code input rendering ([6f7bc37](https://github.com/perfect-panel/ppanel-web/commit/6f7bc37))
2025-02-21 13:18:47 +00:00
web@ppanel 6f7bc37233 🐛 fix(auth): Simplify email verification code input rendering 2025-02-21 20:16:02 +07:00
semantic-release-bot b2e8fadaf3 🔖 chore(release): v1.0.0-beta.15 [skip ci]
# [1.0.0-beta.15](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2025-02-21)

### 🐛 Bug Fixes

* **profile**: Restore filter to ensure only valid OAuth accounts are shown ([315c8f9](https://github.com/perfect-panel/ppanel-web/commit/315c8f9))
2025-02-21 12:59:02 +00:00
web@ppanel 315c8f9afe 🐛 fix(profile): Restore filter to ensure only valid OAuth accounts are shown 2025-02-21 19:55:24 +07:00
4 changed files with 43 additions and 33 deletions
+14
View File
@@ -1,6 +1,20 @@
<a name="readme-top"></a> <a name="readme-top"></a>
# Changelog # Changelog
# [1.0.0-beta.16](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2025-02-21)
### 🐛 Bug Fixes
* **auth**: Simplify email verification code input rendering ([6f7bc37](https://github.com/perfect-panel/ppanel-web/commit/6f7bc37))
# [1.0.0-beta.15](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2025-02-21)
### 🐛 Bug Fixes
* **profile**: Restore filter to ensure only valid OAuth accounts are shown ([315c8f9](https://github.com/perfect-panel/ppanel-web/commit/315c8f9))
# [1.0.0-beta.14](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2025-02-21) # [1.0.0-beta.14](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2025-02-21)
@@ -202,8 +202,7 @@ export default function ThirdPartyAccounts() {
name: 'Device', name: 'Device',
type: 'OAuth', type: 'OAuth',
}, },
]; ].filter((account) => oauth_methods?.includes(account.id));
// .filter((account) => oauth_methods?.includes(account.id));
const [editValues, setEditValues] = useState<Record<string, any>>({}); const [editValues, setEditValues] = useState<Record<string, any>>({});
+27 -30
View File
@@ -59,36 +59,33 @@ export default function ResetForm({
</FormItem> </FormItem>
)} )}
/> />
<FormField
{auth?.email?.enable_verify && ( control={form.control}
<FormField name='code'
control={form.control} render={({ field }) => (
name='code' <FormItem>
render={({ field }) => ( <FormControl>
<FormItem> <div className='flex items-center gap-2'>
<FormControl> <Input
<div className='flex items-center gap-2'> disabled={loading}
<Input placeholder='Enter code...'
disabled={loading} type='text'
placeholder='Enter code...' {...field}
type='text' value={field.value as string}
{...field} />
value={field.value as string} <SendCode
/> type='email'
<SendCode params={{
type='email' ...form.getValues(),
params={{ type: 2,
...form.getValues(), }}
type: 2, />
}} </div>
/> </FormControl>
</div> <FormMessage />
</FormControl> </FormItem>
<FormMessage /> )}
</FormItem> />
)}
/>
)}
<FormField <FormField
control={form.control} control={form.control}
name='password' name='password'
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "ppanel-web", "name": "ppanel-web",
"version": "1.0.0-beta.14", "version": "1.0.0-beta.16",
"private": true, "private": true,
"homepage": "https://github.com/perfect-panel/ppanel-web", "homepage": "https://github.com/perfect-panel/ppanel-web",
"bugs": { "bugs": {